﻿using System.Collections.Generic;

namespace NJabber.Client
{
    public class RosterChanges
    {
        private RosterCache rosterCache;

        internal RosterChanges(RosterCache rosterCache)
        {
            this.rosterCache = rosterCache;
        }

        public IEnumerable<RosterItem> AddedItems
        {
            get { return rosterCache.AddedItems; }
        }

        public IEnumerable<RosterItem> ChangedItems
        {
            get { return rosterCache.ChangedItems; }
        }

        public IEnumerable<RosterItem> RemovedItems
        {
            get { return rosterCache.RemovedItems; }
        } 
    }
}
